home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / AHDI / SYQUEST / SQHDX / DEFS.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-09  |  1004 b   |  44 lines

  1. /* defs.h */
  2.  
  3.  
  4. #define    RESOURCEFILE    "HDX.RSC"    /* Resource file for main */
  5. #define    WCAPFILE    "WINCAP"    /* name of winnie-cap file */
  6.  
  7. #define    MEGABYTE    2048L            /* 1Mb worth of blocks */
  8. #define    MAXPSIZ        ((32*MEGABYTE)-1)    /* 32Mb partition limit */
  9. #define    NAMSIZ        1024            /* max length of a name */
  10.  
  11. #define WI_KIND        0        /* window to be opened on screen */
  12.  
  13. #define MAXPHYSDEVS    8        /* max #devs on DMA bus */
  14. #define    MAXLOGDEVS    14        /* max # logical devices */
  15. #define    NPARTS        4        /* #partitions in root block */
  16.  
  17. #define    NULL    0L
  18. #define    LONG    long
  19. #define    WORD    int
  20. #define UWORD    unsigned int
  21. #define    BYTE    char
  22.  
  23. #define    SECTOR    LONG
  24.  
  25. #define    OFF        0
  26. #define ON        1
  27.  
  28. #define    NO        0
  29. #define YES        1
  30.  
  31. #define    FALSE        0
  32. #define TRUE        1
  33.  
  34. #define    OK        0
  35. #define    ERROR        (-1)
  36. #define BAILOUT        (-2)
  37. #define MDMERR        (-3)    /* medium changed error */
  38.  
  39. #define ARROW_MOUSE    graf_mouse(ARROW, 0x0L)
  40. #define BEE_MOUSE    graf_mouse(HOURGLASS, 0x0L)
  41.  
  42. extern long gemdos();
  43. extern char *mymalloc();
  44.